import configReader
import runner

if __name__ == '__main__':
    # 配置文件路径
    yaml_file_path = 'config/config.yaml'

    configReader.loadInfoByFile(yaml_file_path)

    lines = configReader.getConfig('lines')
    pages = configReader.getConfig('pages')
    date = configReader.getConfig('date')
    host = configReader.getConfig('host')
    runner.run(lines, pages, date, host)
